package com.example.demo.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.demo.entity.Resource;
import com.example.demo.entity.Role;
import com.example.demo.entity.User;

import java.util.List;

public interface UserService extends IService<User> {

    User login(String username);

    List<String> selectRoleByUserId(User user);

    List<String> selectRoleResByUserId(User user);
}
